const nodemailer = require("nodemailer");

const transporter = nodemailer.createTransport({
    // host: "smtp.ethereal.email",
    service: 'QQ',
    port: 465,
    secure: true, // true for port 465, false for other ports
    auth: {
      user: "835150891@qq.com",
      pass: "emhranmcmgxmbdae",
    },
});

module.exports = transporter